from django.urls import path
from . import views

# urls.py
from django.urls import path
from . import views  # 正确定义导入

urlpatterns = [
    path('', views.add_book, name='book_list'),
]